package br.com.binding.client.bind.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation represents a binding between any source of actions and a 
 * action method. Action methods are common methods annotated with @Action 
 * annotation.
 * 
 * @author Marcelo Emanoel
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ActionBind {
	
	/**
	 * The name of the method that should be called.
	 * @return
	 */
	String method();
}
